<div class="container d-yincang">
</div>
{php $userweixin=\Phpcmf\Service::M()->db->table('member_oauth')->where('uid', $uid)->get()->getRowArray();}
{php $shezhis = \Phpcmf\Service::M()->db->table('1_'.MOD_DIR.'_shezhi')->where('dirname', 'tiezi')->get()->getRowArray();}
{php $shezhi = dr_string2array($shezhis['setting']);}

{php $shifouzhongbiaouid = \Phpcmf\Service::M()->db->table('1_'.MOD_DIR.'_wendazhongbiao')->where('uid', $uid)->where('cid', $tid)->get()->getRowArray();}
{php $goumaizhongbiaouid = \Phpcmf\Service::M()->db->table('1_'.MOD_DIR.'_wendazhongbiao')->where('uid', $member.id)->where('leixing', 5)->where('cid', $tid)->where('zhongbiaoid', $id)->get()->getRowArray();}
{php $tieziuid = \Phpcmf\Service::M()->db->table('1_'.MOD_DIR.'_form_son')->where('id', $tid)->get()->getRowArray();}
{php $yijingzhongbiaouid = \Phpcmf\Service::M()->db->table('1_'.MOD_DIR.'_wendazhongbiao')->where('leixing', 4)->where('cid', $tieziuid['id'])->get()->getRowArray();}
<div class="d-container d-yincang-pc navbar-fixed-top" style="background-color: #ffffff">
	<div class="d-row">
    	<div class="d-col-md-8">
			<div class="d-yuanjiao-bianhua-10-10 d-kuan d-bianhua-20 " style="background-color: #ffffff">
				<!--圈子头部-->
				<div class="row">
					<!--返回-->
					<div class="col-md-12 col-xs-12 d-div-zou  d-buhuanhang d-yincang-pc d-huading-100"> 
					    <a href="javascript:goBack();">
					        <img src="{HOME_THEME_PATH}{MOD_DIR}/img/fanhui-hui.svg" width="20" height="20" class=""/>
						</a>
						<a href="{CLIENT_URL}index.php?ye=0">
						    <img class="pull-right" src="{HOME_THEME_PATH}{MOD_DIR}/img/shouye2.png" height="20"/> 
						</a>
						<div class="pull-right d-zuoyou-20 d-quxian-0">
							{if $index['uid'] == $member.id}
								
								<a href="{dr_member_url(MOD_DIR.'/son/edit', ['id' => $id,'cid' => $index['id'],'tid' => $tid])}">
									
									<i class="fa fa-cog d-wenzi-14"></i>
								</a>
							{elseif $uid == $member.id}
								<a href="{dr_member_url(MOD_DIR.'/son/edit', ['id' => $id,'cid' => $index['id'],'tid' => $tid])}">
									
									<i class="fa fa-cog d-wenzi-14"></i>
								</a>
						
							{/if}
						
							
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>

<div class="d-container">
	<div class="d-row">
	    <div class="d-col-md-8"  >
			
			<div class="d-yuanjiao-bianhua-10-10 d-kuan d-beijing-baise d-bianhua-20 ">
				<div class="d-kuan d-gao-40 d-beijing-baise d-yincang-pc">
					
				</div>
				<div class="d-kuan d-gao-40 d-beijing-baise d-yincang">
					<div class="pull-left">
						<a href="javascript:goBack();">
						    <img src="{HOME_THEME_PATH}{MOD_DIR}/img/fanhui-hui.svg" width="20" height="20" class=""/>
						</a>
					</div>
					
					<div class="pull-right d-quxian-0">
						{if $index['uid'] == $member.id}
						    
							<a href="{dr_member_url(MOD_DIR.'/wenda/edit', ['id' => $id,'cid' => $index['id'],'tid' => $tid])}">
								
								<i class="fa fa-cog d-wenzi-16"></i>
							</a>
						{elseif $uid == $member.id}
							<a href="{dr_member_url(MOD_DIR.'/wenda/edit', ['id' => $id,'cid' => $index['id'],'tid' => $tid])}">
								
								<i class="fa fa-cog d-wenzi-16"></i>
							</a>

						{/if}

						
					</div>
				</div>
				<!--标题-->
				<!--div class="d-yuanjiao-20 d-kuan d-jiacu d-huanhang d-wenzi-26 d-xia-20">
					{$title}
				</div-->
				<!--头部-->
				<!--圈子导航-->
				
				<div class="d-kuan d-buhuanhang  d-xia-20">
					<!--头部-->
					<div class="d-yuanjiao-10 d-quxian-0">
						<a href="{d_huiyuan_url($uid)}">
							<img src="{dr_avatar($uid)}" width="40" height="40" class="d-yuanjiao-50"/>
						</a>
					</div>
					<div class="d-zuo-10 d-kuan">
						<div class=" d-buhuanhang">
							<div class=" d-quxian-0">
								<a class="d-jiacu" href="{d_huiyuan_url($uid)}">
								
								{php $user=dr_member_info($uid);}
									{if $user.name}
										{$user.name}
									{elseif $userweixin.nickname}
										{$userweixin.nickname}
									{else}
										{$user.username}
									{/if}
								</a>
							</div>
							
							{if $daanshenhe == '1'}
								{if $yijingzhongbiaouid}
									<div class="d-zuo-10">
										<div class="d-neikuang-1-5 d-wenzi-10 d-beijing-fenhong d-yuanjiao-5 d-zitiyanse-bai">最佳答案</div>
									</div>
								{/if}
							{/if}
							{loop $user.group $tt}
								{if $tt.group_icon}<div class="d-zuo-10"><img src="{$tt.group_icon}" width="60" height="15" class="d-yuanjiao-50"/></div>{/if}
							{/loop}
							
						</div>
						<div class="d-zitiyanse-hui ">
							{php $user=dr_member_info($uid);}
							{loop $user.group $tt}
							    {$tt.group_name}
							{/loop}
							
							<span class="d-wenzi-12 d-zitiyanse-hui" style="margin: 0px 0 0px 15px;">
								{php $ip=\Phpcmf\Service::L('ip')->address($inputip);}
								{if $ip == "未知地区"}
								<i class="fa fa-map-marker"></i> 中国
								{else}
								<i class="fa fa-map-marker"></i> {$ip;}
								{/if}
							</span>
						</div>
					</div>
					<div class="d-kuan-160">
						<div class="d-zitiyanse-hui d-zuo-10 d-div-you d-buhuanhang">
						    <a  id="guanzhu_list_{$uid}" data-id="{$uid}" class="guanzhu_list">
							    {dr_guanzhu_list($uid, $member.id)}
							</a>
						</div>
						
					</div>
				</div>
				{php $listwenzis = \Phpcmf\Service::M()->db->table('module_form')->where('module', MOD_DIR)->where('table', 'son')->get()->getRowArray();}
				{php $listwenzi = dr_string2array($listwenzis['setting']);}
				{php $imgs = dr_get_content_img($neirong);}
				<div class="d-kuan d-zitiyanse-hui-96 d-wenzi-14 d-shang-2">
					发布：{dr_date($_inputtime, "Y-m-d (H:i:s) ")} 
					{if $updatetime}
					<span class="d-wenzi-14 d-zitiyanse-hui-ca" onclick="javascript:d_bianji_shijian();">
						编辑 <i class="fa fa-angle-right"></i>
						<span class="d-bianji-shijian" style="display:none;">：{dr_date($_updatetime, "Y-m-d (H:i:s) ")}</span>
					</span>
					{/if}
					{if $index.price > 0}
						{if $t.vip == 0}
							<span class="pull-right d-wenzi-12 d-neikuang-2-5 d-bian-1 d-yuanjiao-50 d-zitiyanse-hongse">
								<i class="fa fa-unlock"></i> 免 费 
							</span>
						{/if}
					{/if}
					<div class="d-clear"></div>
				</div>
				<!--列表评论-->
				<div class="d-kuan">
					<!--div class="d-kuan d-wenzi-touming-90 d-buhuanhang d-quxian-0 d-xia-10" id="zanlist_list">
						<div id="zanlist_list_{$t.id}" data-id="{$tt.uid}">
							
							{table table=1_quan_form_son_zan cid=$t.id page=1 pagesize=10 return=tt}
								<img src="{dr_avatar($tt.uid)}" width="25" height="25" class="d-touxiang-10" id="gerenzan_{$t.id}_{$tt.uid}" data-id="{$tt.uid}"/>
							{/table}
						</div>
					</div-->
					{if $daanshenhe == '1'}
					<div class="row d-xia-10">
						{if !$shifouzhongbiaouid && $tieziuid['uid'] == $member.id}
						<div class="col-xs-12 d-zitiyanse-hui d-quxian-0 d-chaochu">
							
							<div class="col-sm-3 col-xs-6 d-wenzi-juzhong d-shang-10" href="{dr_url(MOD_DIR.'/show/index',['id' => $id,'qid' => $t.tid])}">
								<div class="d-wenzi-14 d-neikuang-30-30 d-bian-1 d-yuanjiao-50 d-zitiyanse-hui d-a-hui">
									<a  id="tag_zan_ding_{$id}" data-id="{$tid}" data-uid="{$uid}" data-leixing="1" class="tag_wenda_jiangli_jifen d-kuai">
										<i class="fa fa-thumbs-o-up"></i> 鼓励 1积分
									</a>
								</div>
							</div>
							<div class="col-sm-3 col-xs-6 d-wenzi-juzhong d-shang-10" href="{dr_url(MOD_DIR.'/show/index',['id' => $id,'qid' => $t.tid])}">
								<div class="d-wenzi-14 d-neikuang-30-30 d-bian-1 d-yuanjiao-50 d-zitiyanse-hui d-a-hui">
									<a  id="tag_zan_ding_{$id}" data-id="{$tid}" data-uid="{$uid}" data-leixing="2" class="tag_wenda_jiangli_jifen d-kuai">
										<i class="fa fa-thumbs-o-up"></i> 鼓励 0.1元
									</a>
								</div>
							</div>
							<div class="col-sm-3 col-xs-6 d-wenzi-juzhong d-shang-10" href="{dr_url(MOD_DIR.'/show/index',['id' => $id,'qid' => $t.tid])}">
								<div class="d-wenzi-14 d-neikuang-30-30 d-bian-1 d-yuanjiao-50 d-zitiyanse-hui d-a-hui">
									<a  id="tag_zan_ding_{$id}" data-id="{$tid}" data-uid="{$uid}" data-leixing="3" class="tag_wenda_jiangli_jifen d-kuai">
										<i class="fa fa-heart-o"></i> 感 谢 参 与
									</a>
								</div>
							</div>
							{if !$yijingzhongbiaouid}
							<div class="col-sm-3 col-xs-6 d-wenzi-juzhong d-shang-10" >
								<div class="d-wenzi-14 d-neikuang-30-30 d-bian-1 d-yuanjiao-50 d-zitiyanse-hui d-a-hui" onclick="d_zhongbiao_queren{$id}({$id},{$tid},{$uid})">
									
									<a  id="tag_zan_ding_{$id}" data-id="{$tid}" data-leixing="4" data-uid="{$uid}" class="d-kuai">
										<i class="fa fa-check-circle-o"></i> 选 择 中 标
									</a>
								</div>
							</div>
							{/if}
							
						</div>
						{else}
						<div class="col-xs-12 d-wenzi-juzhong d-zitiyanse-hui d-quxian-0 d-chaochu">
						<div class="col-md-3 col-xs-6 col-md-offset-4  col-xs-offset-3 d-wenzi-juzhong d-shang-10" href="{dr_url(MOD_DIR.'/show/index',['id' => $id,'qid' => $t.tid])}">
							{if $shifouzhongbiaouid['leixing'] == '1'}
								<div class="d-wenzi-14 d-neikuang-30-30 d-bian-1 d-yuanjiao-50 d-zitiyanse-hui d-a-hui">
									<a  id="tag_zan_ding_{$id}" data-id="{$id}" data-uid="{$t.uid}" data-leixing="1" class=" d-kuai">
										<i class="fa fa-thumbs-o-up"></i> 鼓励 1积分
									</a>
								</div>
							{elseif $shifouzhongbiaouid['leixing'] == '2'}
								<div class="d-wenzi-14 d-neikuang-30-30 d-bian-1 d-yuanjiao-50 d-zitiyanse-hui d-a-hui">
									<a  id="tag_zan_ding_{$id}" data-id="{$id}" data-uid="{$t.uid}" data-leixing="2" class=" d-kuai">
										<i class="fa fa-thumbs-o-up"></i>  鼓励 0.1元
									</a>
								</div>
							{elseif $shifouzhongbiaouid['leixing'] == '3'}
								<div class="d-wenzi-14 d-neikuang-30-30 d-bian-1 d-yuanjiao-50 d-zitiyanse-hui d-a-hui">
									<a  id="tag_zan_ding_{$id}" data-id="{$id}" data-uid="{$t.uid}" data-leixing="3" class="d-kuai">
										<i class="fa fa-heart-o"></i>  感 谢 参 与
									</a>
								</div>
							{elseif $shifouzhongbiaouid['leixing'] == '4'}
								{if $uid == $member.id || $tieziuid['uid'] == $member.id || $goumaizhongbiaouid}
								<div class="d-wenzi-14 d-neikuang-30-30  d-beijing-fenhong d-yuanjiao-50 d-zitiyanse-hui d-a-bai">
									<a  id="tag_zan_ding_{$id}" data-id="{$id}" data-uid="{$t.uid}" data-leixing="4" class=" d-kuai">
										<i class="fa fa-check-circle-o"></i> 已 经 中 标
									</a>
								</div>
								{else}
								<div class="d-wenzi-14 d-neikuang-30-30  d-beijing-fenhong d-yuanjiao-50 d-zitiyanse-hui d-a-bai">
									<a  href="{dr_url(MOD_DIR.'/buywenda/goumaidaan', ['fid' => $ci->module['form']['son']['field']['ckfy']['id'],'id'=> $tieziuid['id'],'zhongbiaoid'=>$id])}" class=" d-kuai">
										{$tieziuid['ckfy']} 元 阅读中标答案
									</a>
								</div>
								{/if}
								
							{/if}
						</div>
						</div>
						{/if}
					</div>
					{/if}
				</div>
				<div class="d-kuan d-img-100 d-wenzi-16 d-img d-henggun d-p-10" >
					
					
				{if $daanshenhe == 1 || $uid == $member.id || $tieziuid['uid'] == $member.id}
				
				    {if $daanshenhe == 0 && $tieziuid['uid'] == $member.id}
					    <div class="col-md-3 col-xs-6 col-md-offset-4 d-xia-10 col-xs-offset-3 d-wenzi-juzhong d-shang-10" >
					    	<div class="d-wenzi-14 d-neikuang-30-30 d-bian-1 d-yuanjiao-50 d-zitiyanse-hui d-a-hui">
					    		<a id="tag_zan_ding_{$id}" data-id="{$id}" data-uid="{$uid}" data-tid="{$tieziuid['id']}" class="tag_wenda_daan_shenhe d-kuai">
					    			<i class="bi bi-shield-exclamation"></i> 确定审核中..
					    		</a>
					    	</div>
					    </div>
					    <div class="d-clear"></div>
					{elseif $daanshenhe == 1}
						<!--div class="col-md-3 col-xs-6 col-md-offset-4 d-xia-10 col-xs-offset-3 d-wenzi-juzhong d-shang-10" >
							<div class="d-wenzi-14 d-neikuang-30-30 d-bian-1 d-yuanjiao-50 d-zitiyanse-hui d-a-hui">
								<a class="d-kuai">
									<i class="bi bi-shield-fill-check"></i> 已审核
								</a>
							</div>
						</div>
						<div class="d-clear"></div-->
					{else}
					<div class="col-md-3 col-xs-6 col-md-offset-4 d-xia-10 col-xs-offset-3 d-wenzi-juzhong d-shang-10" >
						<div class="d-wenzi-14 d-neikuang-30-30 d-bian-1 d-yuanjiao-50 d-zitiyanse-hui d-a-hui">
							<a class="d-kuai">
								<i class="bi bi-shield-exclamation"></i> 审核中..
							</a>
						</div>
					</div>
					<div class="d-clear"></div>
					{/if}

						<div id="tuzhanshi" class="d-neirong">
							{if $tieziuid['chakandaan'] == '1'}
								<span style="color: #0abb29;">【答】</span>
								{$daan}
							{elseif $tieziuid['chakandaan'] == '2'}
								<!--提问者 和 答案者可阅读-->

								{if $uid == $member.id || $tieziuid['uid'] == $member.id}
									<span style="color: #0abb29;">【答】</span>
									{$daan}
								{else}
									<div class="d-kuan d-xia-15 d-bian-1-hui d-yuanjiao-10 d-neikuang-10 d-buhuanhang">
										<div class="d-kuan-70 d-imgs">
											<img src="{HOME_THEME_PATH}web/img/yuedu.png" width="40" height="40"/>
										</div>
										<div class="d-kuan">
											<div class="pull-left">
												<div class="d-wenzi-14 d-zitiyanse-hui">
													提问者隐藏答案 <span class="d-wenzi-12 d-zitiyanse-hui"></span>
												</div>
												<div class="d-wenzi-14">
													只有作者可见
												</div>
											</div>
											<div class="d-kuan-100 d-you-10 pull-right d-quxian-0">
												<a>
												<div class="d-kuan-50 d-hanggao-30 d-wenzi-juzhong d-shang-5 d-wenzi-12 d-beijing-hei d-yuanjiao-20 pull-right d-zitiyanse-bai">
													隐 藏
												</div>
												</a>
											</div>
										</div>
									</div>

								{/if}
							{elseif $tieziuid['chakandaan'] == '3'}
								<!--提问者 , 答案者可阅读, 购买者，三者阅读-->
								{if $uid == $member.id || $tieziuid['uid'] == $member.id || $goumaizhongbiaouid}
									<span style="color: #0abb29;">【答】</span>
									{$daan}
								{else}
								    {if $shifouzhongbiaouid['leixing'] == '4'}
									<div class="d-kuan d-xia-15 d-bian-1-hui d-yuanjiao-10 d-neikuang-10 d-buhuanhang">
										<div class="d-kuan-70 d-imgs">
											<img src="{HOME_THEME_PATH}web/img/tupiantubiao.png" width="40" height="40"/>
										</div>
										<div class="d-kuan">
											<div class="pull-left">
												<div class="d-wenzi-14 d-zitiyanse-hui">
													付费阅读 <span class="d-wenzi-12 d-zitiyanse-hui"></span>
												</div>
												<div class="d-wenzi-14 d-zitiyanse-hongse">
													支付 {$tieziuid['ckfy']} 元 阅读答案
												</div>
											</div>
											<div class="d-kuan-100 d-you-10 pull-right d-quxian-0">
												<a href="{dr_url(MOD_DIR.'/buywenda/goumaidaan', ['fid' => $ci->module['form']['son']['field']['ckfy']['id'],'id'=> $tieziuid['id'],'zhongbiaoid'=>$id])}">
												<div class="d-kuan-50 d-hanggao-30 d-wenzi-juzhong d-shang-5 d-wenzi-12 d-beijing-hei d-yuanjiao-20 pull-right d-zitiyanse-bai">
													购 买
												</div>
												</a>
											</div>
										</div>
									</div>
									{else}
									<div class="d-kuan d-xia-15 d-bian-1-hui d-yuanjiao-10 d-neikuang-10 d-buhuanhang">
										<div class="d-kuan-70 d-imgs">
											<img src="{HOME_THEME_PATH}web/img/yuedu.png" width="40" height="40"/>
										</div>
										<div class="d-kuan">
											<div class="pull-left">
												<div class="d-wenzi-14 d-zitiyanse-hui">
													提问者隐藏答案 <span class="d-wenzi-12 d-zitiyanse-hui"></span>
												</div>
												<div class="d-wenzi-14">
													只有作者可见
												</div>
											</div>
											<div class="d-kuan-100 d-you-10 pull-right d-quxian-0">
												<a>
												<div class="d-kuan-50 d-hanggao-30 d-wenzi-juzhong d-shang-5 d-wenzi-12 d-beijing-hei d-yuanjiao-20 pull-right d-zitiyanse-bai">
													隐 藏
												</div>
												</a>
											</div>
										</div>
									</div>
									{/if}
								{/if}
							{/if}
						</div>

					
					<div class="d-gao-20 d-kuan"></div>
					<div class="d-kuan">
						<div class="d-hanggao-24 d-zitiyanse-hui d-quxian-0 pull-left">
							{php $erjibiao = '1_'.MOD_DIR.'_fenlei';}
							{php $guishudaohang = \Phpcmf\Service::M()->db->table($erjibiao)->where('id', $tid)->get()->getRowArray();}
							<a href="{dr_url(MOD_DIR.'/show/index',['id' => $index['id']])}">
							<span class="d-wenzi-12 d-neikuang-2-5 d-bian-1 d-yuanjiao-50 d-zitiyanse-hui">
								<i class="bi bi-record-circle"></i> {$index['title']}</span>
							</a>
							{if $guishudaohang['yijiid'] == 0}
								<a href="{dr_url(MOD_DIR.'/show/index',['id' => $index.id,'qid' => $tid])}">
								<span class="d-wenzi-12 d-neikuang-2-5 d-bian-1 d-yuanjiao-50 d-zitiyanse-hui">
									<i class="fa fa-bars"></i> {$guishudaohang['name']}</span>
								</a>
							{else}
								<a href="{dr_url(MOD_DIR.'/show/index',['id' => $index.id,'qid' => $guishudaohang['yijiid'],'erji' => $tid])}">
								<span class="d-wenzi-12 d-neikuang-2-5 d-bian-1 d-yuanjiao-50 d-zitiyanse-hui">
									<i class="fa fa-bars"></i> {$guishudaohang['name']}</span>
								</a>
							{/if}
							
						</div>
						<div class="d-kuan-100 d-quxian-0 pull-right d-wenzi-zuobian"> 
							<a class=" d-wenzi-12" href="javascript:dr_iframe('网址举报', '/index.php?s=jubao&c=post&m=index&id={$id}&moxing={MOD_DIR}');">
								<img src="{HOME_THEME_PATH}{MOD_DIR}/img/jubao.png" width="30" height="30" class="">
								举报
							</a>
						</div>
					</div>
					
					<div class="d-clear"></div>
					<div class="d-gao-70 d-kuan d-yincang-pc"></div>
				{else}
				<div class="col-md-3 col-xs-6 col-md-offset-4  col-xs-offset-3 d-wenzi-juzhong d-shang-10" >
					<div class="d-wenzi-14 d-neikuang-30-30 d-bian-1 d-yuanjiao-50 d-zitiyanse-hui d-a-hui">
						<a  class="d-kuai">
							<i class="bi bi-shield-exclamation"></i> 审核中..
						</a>
					</div>
				</div>
				<div class="d-clear"></div>
				{/if}
				</div>

				
			</div>
			
			<!--尾部评论-->

			<!--// 评论ajax框代码 id表示当前模块表单的内容id号-->
			<!--$index.fengge == 1是左边-->
			{if $index.fengge == 1}
			<div class="d-pinglun-tanchu d-quxian-0" >
			<a class="kaiguan" onclick="javascript:dr_m_pinglun2();">
				<div class="d-gao-40 d-beijing-baise d-kuan d-wenzi-juzhong d-huading-0 d-hanggao-40"><i class="bi bi-x-circle-fill"></i> 关闭</div>
			</a>
				{dr_mform_comment(MOD_DIR,'wenda', $id, $index.fengge)}
			</div>
				
			{/if}
			{if $index.fengge == 2}
			<div class="d-yincang-pc">
				<div class="d-pinglun-tanchu d-quxian-0" >
				<a class="kaiguan" onclick="javascript:dr_m_pinglun2();">
					<div class="d-gao-40 d-beijing-baise d-kuan d-wenzi-juzhong d-huading-0 d-hanggao-40"><i class="bi bi-x-circle-fill"></i> 关闭</div>
				</a>
				{dr_mform_comment(MOD_DIR,'wenda', $id, $index.fengge)}
				</div>
			</div>
			{/if}

			
		</div>
		<div class="col-md-4 d-yincang d-huading-80 ">
			
			{if $index.fengge == 1}
				<div class="d-yuanjiao-10 d-kuan d-beijing-baise d-bianhua-10">
					<div class="d-yuanjiao-20 d-kuan d-wenzi-16 ">
						<div class="d-yuanjiao-10 d-kuan d-kuan-juzhong d-wenzi-juzhong d-quxian-0">
							<a href="{d_huiyuan_url($index.uid)}">
								<img src="{dr_avatar($index.uid)}" width="50" height="50" class="d-yuanjiao-50 "/>
								<div class="d-shang-10 d-jiacu ">
									{if $userweixin.nickname}
										{$userweixin.nickname}
									{elseif $user.name}
										{$user.name}
									{else}
										{$user.username}
									{/if}
								</div>
							</a>
							<!----简介---->
							<div class="d-shang-10 d-wenzi-14 d-zitiyanse-hui">
								{php $user=dr_member_info($index.uid);}
								{loop $user.group $tt}
									{$tt.group_name}
								{/loop}
							</div>
						</div>
					</div>
					<div class="d-kuan">
						<div class="row  d-wenzi-juzhong d-shang-20">
							<div class="col-md-3">
								<div class="d-jiacu d-wenzi-16">0</div>
								<div>关注</div>
							</div>
							<div class="col-md-3">
								<div class="d-jiacu d-wenzi-16">
									{count action=table table=1_quan uid=$index.uid return=quanzi}
									{$quanzi_count}
								</div>
								<div>圈子</div>
							</div>
							<div class="col-md-3">
								<div class="d-jiacu d-wenzi-16">0</div>
								<div>动态</div>
							</div>
							<div class="col-md-3">
								<div class="d-jiacu d-wenzi-16">0</div>
								<div>粉丝</div>
							</div>
							
						</div>
					</div>
				</div>
				<div class="d-yuanjiao-10 d-kuan d-beijing-baise d-bianhua-10 d-shang-20">
					<div class="d-yuanjiao-20 d-kuan d-jiacu d-wenzi-16">
						{if $userweixin.nickname}
							{$userweixin.nickname}
						{elseif $user.name}
							{$user.name}
						{else}
							{$user.username}
						{/if} 的帖子
					</div>
					<div class="d-kuan">
						{php $i=1;}
						{mform module=MOD_DIR form=son order=inputtime_asc uid=$uid num=10 return=tt}
							<div class="d-hanggao-40 d-wenzi-16 d-quxian-0 d-chaochu">
								<span class="d-jiacu d-you-10 {if $i<4}d-zitiyanse-hongse{/if}">{$i}</span>
								<a href="/index.php?s={MOD_DIR}&c=son&id={$tt.id}"> 
								{if $tt.title}
								{$tt.title}
								{else}
								{dr_strcut(dr_clearhtml($tt.neirong), 20)}
								{/if}
								</a>
							</div>
							{php $i++;}
						{/mform}
					</div>
				</div>
			{else}
				<div class="d-yuanjiao-10 d-kuan d-beijing-hei-ef d-shangnei-20 d-xiala-kuang" id="b1">
					{dr_mform_comment_2(MOD_DIR,'wenda', $id, $index.fengge)}
				</div>
			{/if}
			
			
		</div>
		<div class="d-clear"></div>
	</div>
</div>
<div class="d_zhongbiao_queren zhongbiaoaniu{$id}" style="display: none" onclick="d_zhongbiao_queren{$id}()">
	<div class="d-jiangli-kuan ">
		<div class="d-daan-beijing">
			<div class="d-jiangli-gao"></div>
			{if $tieziuid['sjlx'] == 1}
			<div class="d-jiangli-chenggong d-wenzi-12 "> 中标者将获得<span class="d-zitiyanse-hongse" id="d-jiangli-zhi2">{intval($tieziuid['wdsj'])}</span>{SITE_SCORE} <span id="d-qiandao-jingyan"></span> </div>
			{else}
			<div class="d-jiangli-chenggong d-wenzi-12 "> 中标者将获得<span class="d-zitiyanse-hongse" id="d-jiangli-zhi2">{$tieziuid['wdsj']}</span>元  <span id="d-qiandao-jingyan"></span> </div>
			
			{/if}
			<div class="d-jiangli-chenggong d-wenzi-12 ">一旦选择无法退回</div>
			<div class="d-wenzi-14 d-neikuang-30-30 d-yuanjiao-50 d-zitiyanse-hui d-a-hui" onclick="d_zhongbiao_queren{$id}({$id},{$tid},{$uid})">
				<a  id="tag_zan_ding_{$id}" data-id="{$tid}" data-leixing="4" data-uid="{$uid}" class="tag_wenda_jiangli_jifen d-kuai" style="color: #ff0000;">
					<i class="fa fa-check-circle-o"></i> 确定选择
				</a>
			</div>
		</div>
	</div>
</div>
<script>
	function d_zhongbiao_queren{$id}() {
	
	  	//location.reload();
		if ($('.zhongbiaoaniu{$id}').is(':hidden')) {
			$('.zhongbiaoaniu{$id}').show();
		} else {
			$('.zhongbiaoaniu{$id}').hide();
		}
	  }
	// 问答奖励积分
	$(".tag_wenda_jiangli_jifen").click(function(){
	    var id = $(this).data("id");
		  var uid = $(this).data("uid");
		  var leixing = $(this).data("leixing");
	    $.get("{dr_url_prefix('index.php')}?s={MOD_DIR}&c=wenda&m=jianglijifen&id="+id+"&uid="+uid+"&leixing="+leixing, function(data){
	        dr_cmf_tips(data.code, data.msg.value + data.msg.jifen);
	        if (data.msg.value=="操作成功") {
	        	window.location.reload();
	        }
	    }, 'json');
	});
	
	// 问答答案审核
	$(".tag_wenda_daan_shenhe").click(function(){
	    var id = $(this).data("id");
		  var uid = $(this).data("uid");
		  var tid = $(this).data("tid");
		  var leixing = $(this).data("leixing");
	    $.get("{dr_url_prefix('index.php')}?s={MOD_DIR}&c=wenda&m=daanshenhe&id="+id+"&uid="+uid+"&tid="+tid, function(data){
	        dr_cmf_tips(data.code, data.msg.value + data.msg.jifen);
	        if (data.msg.value=="已经审核成功") {
	        	window.location.reload();
	        }
	    }, 'json');
	});
	
	function d_bianji_shijian() {
		if ($('.d-bianji-shijian').is(':hidden')) {
			$('.d-bianji-shijian').show();
		} else {
			$('.d-bianji-shijian').hide();
		}
	}
function dr_m_pinglun() {
	$('.d-pinglun-tanchu').show();
	$('.kaiguan').show();
}
function dr_m_pinglun2() {
	$('.d-pinglun-tanchu').hide();
	$('.kaiguan').hide();
}
var viewer = new Viewer(document.getElementById('tuzhanshi'), {
  	//url: 'data-kujue',
	toolbar: false,//关闭工具栏
	title: false,//关闭标题栏
	backdrop: true, //点击遮罩层不关闭
	rotatable: false, //图片是否可旋转
	scalable: false, //图片是否可翻转
	tooltip: false, //显示缩放百分比
  });


  
  var Mpage=1;
  //滚动显示更多
  var scroll_get = true;  //做个标志,不要反反复复的加载
  $(document).ready(function () {
      $(window).scroll(function () {
          if (scroll_get==true &&  (400 + $(window).scrollTop())>($(document).height() - $(window).height())) {
              scroll_get = false;
              /*layer.msg('内容加截中,请稍候',{time:1000});*/
              dr_ajax_load_more();
          }
      });
  });
  function dr_ajax_load_more(){
      Mpage++;
      $.get('{SITE_URL}index.php?s=api&c=api&m=template&module={MOD_DIR}&tid={$idtid}&name=mform_show-wenda-list-daan.html&format=json&page='+Mpage+'&'+Math.random(),function(res){
          //$('.footer-cont').hide();
          if(res.code==1){
              if (res.msg.indexOf("</div>") != -1) {
                  $('#content_list').append(res.msg);
                  scroll_get = true;
              } else {
                  layer.msg("已经显示完了",{time:500});
              }
          }else{
              /*layer.msg(res.msg,{time:2500});*/
          }
      }, 'json');
  }
</script>
<style>
	.d_zhongbiao_queren {
		z-index: 999999;
		position: fixed;
		bottom: 0px;
		width: 100%;
		right: 0;
		height: 100%;
		overflow: auto;
		background: #444444;
		background-color: rgba(143, 143, 143, 0.9);
	}
	.d-jiangli-tanchu {
		z-index: 999999;
		position: fixed;
		bottom: 0px;
		width: 100%;
		height: 100%;
		overflow: auto;
		/*background: #444444;
		background-color: rgba(143, 143, 143, 0.9);*/
	}
	.d-jiangli-kuan {
	    /* background-color: #eaeaea; */
	    height: 300px;
		width: 300px;
	    /* width: 100%; */
	    text-align: center;
	    /*position: fixed;*/
	    margin: 15% auto 0 auto;
	    z-index: 99999;
	}
	.d-jiangli-beijing {
	    /* background-color: #eaeaea; */
		top:300px;
		
	    height: 300px;
		width: 300px;
	    /* width: 100%; */
	    text-align: center;
	    /*position: fixed;*/
	    margin: 0 auto;
	    z-index: 99999;
		background-image:url('{HOME_THEME_PATH}jiangli/jianglitu.png');
	}
	.d-daan-beijing {
	    /* background-color: #eaeaea; */
		top:300px;
		
	    height: 300px;
		width: 300px;
	    /* width: 100%; */
	    text-align: center;
	    /*position: fixed;*/
	    margin: 0 auto;
	    z-index: 99999;
		background-image:url('{HOME_THEME_PATH}web/img/manyidanan.png');
	}
	.d-jiangli-gao {
		height: 120px;
	}
	.d-jiangli-zhi {
		font-size: 25px;
		color: #ff5202;
	}
	@media screen and (max-width: 990px) {
		.d-jiangli-kuan {
		    /* background-color: #eaeaea; */
		    height: 300px;
			width: 300px;
		    /* width: 100%; */
		    text-align: center;
		    /*position: fixed;*/
		    margin: 60% auto 0 auto;
		    z-index: 99999;
		}
		
	}
	.d-henggun {
	
	    max-width: 100%;
	    overflow-x: hidden;
	    overflow-y: hidden;
	}
	tbody p {
	    margin: 5px 0;
	}
.d-pinglun-tanchu {
	display: block;

}
.kaiguan {
	display: none;
}
@media screen and (max-width: 700px) { /*当屏幕尺寸小于1200px时，应用下面的CSS样式*/
	body {
        height: 100%;
        background-color: #ffffff;
    }
	.d-henggun {
		max-width: 400px;
		overflow-x: scroll;
		overflow-y: hidden;
	}
	.d-henggun::-webkit-scrollbar {
	    width: 4px;
	    height: 1px;
	}
	.d-henggun::-webkit-scrollbar-track {
			-webkit-box-shadow: inset 0 0 5px rgba(255, 255, 255, 0);
			border-radius: 0;
			background-color: #ffffff;
		}
	.d-henggun::-webkit-scrollbar-track {
		-webkit-box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.2);
		border-radius: 0;
		background-color: #ffffff;
	}
	.d-pinglun-tanchu {
		background-color: #f3f4f7;
		position: fixed;
		height: 100%;
		width: 100%;
		overflow: auto;
		display: none;
		z-index: 2000;
		bottom: 0px;
	}
}
</style>
{template "fanhui.html"}